﻿using ProduceBasicData.Domain.Entities;
using ProduceBasicData.Domain.WarehouseManage.WarehouseEnum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProduceBasicData.Domain.WarehouseManage
{
    /// <summary>
    /// 仓库信息表
    /// </summary>
    public class Warehouse:BaseModel
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 仓库类型
        /// </summary>
        public WarehouseType Type { get; set; }

        /// <summary>
        /// 仓库状态
        /// </summary>
        public WarehouseStatus Status { get; set; }

        /// <summary>
        /// 仓库地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 仓库管理员ID
        /// </summary>
        public int? ManagerId { get; set; }

        /// <summary>
        /// 仓库管理员姓名
        /// </summary>
        public string? ManagerName { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? ContactPhone { get; set; }

        /// <summary>
        /// 仓库面积(平方米)
        /// </summary>
        public decimal? Area { get; set; }

        /// <summary>
        /// 仓库容量
        /// </summary>
        public decimal? Capacity { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Remark { get; set; }
    }
}
